Optimal. Leaf size=148 \[ \frac {1}{2} x \csc ^2\left (a+b x^2\right ) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}-\frac {\sqrt {\pi } \cos (2 a) \csc ^2\left (a+b x^2\right ) C\left (\frac {2 \sqrt {b} x}{\sqrt {\pi }}\right ) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}}{4 \sqrt {b}}+\frac {\sqrt {\pi } \csc ^2\left (a+b x^2\right ) S\left (\frac {2 \sqrt {b} x}{\sqrt {\pi }}\right ) \sin (2 a) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}}{4 \sqrt {b}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 148, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 5, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.312, Rules used = {6852, 3438,
3435, 3433, 3432} \begin {gather*} -\frac {\sqrt {\pi } \cos (2 a) \text {FresnelC}\left (\frac {2 \sqrt {b} x}{\sqrt {\pi }}\right ) \csc ^2\left (a+b x^2\right ) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}}{4 \sqrt {b}}+\frac {\sqrt {\pi } \sin (2 a) S\left (\frac {2 \sqrt {b} x}{\sqrt {\pi }}\right ) \csc ^2\left (a+b x^2\right ) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}}{4 \sqrt {b}}+\frac {1}{2} x \csc ^2\left (a+b x^2\right ) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3432
Rule 3433
Rule 3435
Rule 3438
Rule 6852
Rubi steps
\begin {align*} \int \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3} \, dx &=\left (\csc ^2\left (a+b x^2\right ) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}\right ) \int \sin ^2\left (a+b x^2\right ) \, dx\\ &=\left (\csc ^2\left (a+b x^2\right ) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}\right ) \int \left (\frac {1}{2}-\frac {1}{2} \cos \left (2 a+2 b x^2\right )\right ) \, dx\\ &=\frac {1}{2} x \csc ^2\left (a+b x^2\right ) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}-\frac {1}{2} \left (\csc ^2\left (a+b x^2\right ) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}\right ) \int \cos \left (2 a+2 b x^2\right ) \, dx\\ &=\frac {1}{2} x \csc ^2\left (a+b x^2\right ) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}-\frac {1}{2} \left (\cos (2 a) \csc ^2\left (a+b x^2\right ) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}\right ) \int \cos \left (2 b x^2\right ) \, dx+\frac {1}{2} \left (\csc ^2\left (a+b x^2\right ) \sin (2 a) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}\right ) \int \sin \left (2 b x^2\right ) \, dx\\ &=\frac {1}{2} x \csc ^2\left (a+b x^2\right ) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}-\frac {\sqrt {\pi } \cos (2 a) \csc ^2\left (a+b x^2\right ) C\left (\frac {2 \sqrt {b} x}{\sqrt {\pi }}\right ) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}}{4 \sqrt {b}}+\frac {\sqrt {\pi } \csc ^2\left (a+b x^2\right ) S\left (\frac {2 \sqrt {b} x}{\sqrt {\pi }}\right ) \sin (2 a) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}}{4 \sqrt {b}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.07, size = 93, normalized size = 0.63 \begin {gather*} \frac {\csc ^2\left (a+b x^2\right ) \left (2 \sqrt {b} x-\sqrt {\pi } \cos (2 a) C\left (\frac {2 \sqrt {b} x}{\sqrt {\pi }}\right )+\sqrt {\pi } S\left (\frac {2 \sqrt {b} x}{\sqrt {\pi }}\right ) \sin (2 a)\right ) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}}{4 \sqrt {b}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 0.17, size = 224, normalized size = 1.51
method | result | size |
risch | \(\frac {\left (i c \left ({\mathrm e}^{2 i \left (b \,x^{2}+a \right )}-1\right )^{3} {\mathrm e}^{-3 i \left (b \,x^{2}+a \right )}\right )^{\frac {2}{3}} {\mathrm e}^{2 i x^{2} b} \sqrt {\pi }\, \sqrt {2}\, \erf \left (\sqrt {2}\, \sqrt {i b}\, x \right )}{16 \left ({\mathrm e}^{2 i \left (b \,x^{2}+a \right )}-1\right )^{2} \sqrt {i b}}+\frac {\erf \left (\sqrt {-2 i b}\, x \right ) \sqrt {\pi }\, \left (i c \left ({\mathrm e}^{2 i \left (b \,x^{2}+a \right )}-1\right )^{3} {\mathrm e}^{-3 i \left (b \,x^{2}+a \right )}\right )^{\frac {2}{3}} {\mathrm e}^{2 i \left (b \,x^{2}+2 a \right )}}{8 \sqrt {-2 i b}\, \left ({\mathrm e}^{2 i \left (b \,x^{2}+a \right )}-1\right )^{2}}-\frac {x \left (i c \left ({\mathrm e}^{2 i \left (b \,x^{2}+a \right )}-1\right )^{3} {\mathrm e}^{-3 i \left (b \,x^{2}+a \right )}\right )^{\frac {2}{3}} {\mathrm e}^{2 i \left (b \,x^{2}+a \right )}}{2 \left ({\mathrm e}^{2 i \left (b \,x^{2}+a \right )}-1\right )^{2}}\) | \(224\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [C] Result contains complex when optimal does not.
time = 0.62, size = 76, normalized size = 0.51 \begin {gather*} -\frac {4^{\frac {1}{4}} \sqrt {2} \sqrt {\pi } {\left ({\left (\left (i - 1\right ) \, \cos \left (2 \, a\right ) + \left (i + 1\right ) \, \sin \left (2 \, a\right )\right )} \operatorname {erf}\left (\sqrt {2 i \, b} x\right ) + {\left (-\left (i + 1\right ) \, \cos \left (2 \, a\right ) - \left (i - 1\right ) \, \sin \left (2 \, a\right )\right )} \operatorname {erf}\left (\sqrt {-2 i \, b} x\right )\right )} b^{\frac {3}{2}} c^{\frac {2}{3}} + 16 \, b^{2} c^{\frac {2}{3}} x}{64 \, b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.38, size = 114, normalized size = 0.77 \begin {gather*} \frac {4^{\frac {2}{3}} {\left (4^{\frac {1}{3}} \pi \sqrt {\frac {b}{\pi }} \cos \left (2 \, a\right ) \operatorname {C}\left (2 \, x \sqrt {\frac {b}{\pi }}\right ) - 4^{\frac {1}{3}} \pi \sqrt {\frac {b}{\pi }} \operatorname {S}\left (2 \, x \sqrt {\frac {b}{\pi }}\right ) \sin \left (2 \, a\right ) - 2 \cdot 4^{\frac {1}{3}} b x\right )} \left (-{\left (c \cos \left (b x^{2} + a\right )^{2} - c\right )} \sin \left (b x^{2} + a\right )\right )^{\frac {2}{3}}}{16 \, {\left (b \cos \left (b x^{2} + a\right )^{2} - b\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (c \sin ^{3}{\left (a + b x^{2} \right )}\right )^{\frac {2}{3}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\left (c\,{\sin \left (b\,x^2+a\right )}^3\right )}^{2/3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________